package net.jast.sanitizer;

public interface Sanitizer {

    public enum Print {
        LAST_GROUP, FIRST_GROUP;
    }

    public synchronized void addPattern(String pattern);

    public boolean matches(String str);
    
    public boolean matches(Object obj);
    
    public String sanitize(String str);

    public Object sanitize(Object obj);

}
